#makefile bin
BIN_NAME=gm
BIN_DIR=bin
INC_DIR = src
SRC_DIR = src
OBJ_PATH = obj
CCREACTOR_LIB_PATH=../CCReactor
CCREACTOR_LIB = ccreactor

NET_PROTOCOL := -D__USE_PBA_PROTOCOL__ 
LIB_MYSQL :=  ON
LIB_MEMCACHE := OFF

LIB_SSL :=  ON
LIB_CURL :=  ON
LIB_SERVER_HTTPS := ON
LIB_CLIENT_HTTPS := ON
TRACE_MODE :=  ON
TRACE_MSG_MD5 :=  OFF
TEST_IGNORE_REDIS :=  OFF
ONLINE_MODE :=  OFF

GAME_DEFINES :=  -D__XXFLAG__
CFLAGS += -D__CACHE_REDIS__

CFLAGS += -g 

$(shell rm -rf proto)
$(shell mkdir -p proto)
$(shell rm -rf src/pb)
$(shell mkdir -p src/pb)
$(shell cp -f ../public/proto/1650_agentbackend.proto proto)
$(shell cp -f ../public/proto/3300_gm.proto proto)
$(shell protoc --proto_path=proto --cpp_out=src/pb  proto/*.proto)

###############
include ./makefile.base
	
	
	
